/**
 * Created by jiangtao on 2017/6/1.
 */


import React from 'react'

import LazyRoute from "lazy-route";

import Index from './../../views/mobile/main';
import Search from './../../views/mobile/search';


export default [

    {
        path: '/app',
        component: <Index />,
        exact:false,
        children: [
           {
                path: '/app/tab/:category',
                component: <LazyRoute component={import("./../../views/mobile/category")}/>,
                children: []
            }
        ]
    },

    {
        path: '/search',
        component: <Search />,
        exact:true,
        children: [

        ]
    },



]